package com.example.dubboconsumer.service;


import com.alibaba.dubbo.config.annotation.Reference;
import com.example.dubboprovider.service.TicketService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: xudp
 */
@Service
public class UserService {
    @Reference
    TicketService ticketService;

    public void hello(){
        System.out.println(ticketService.getTicket());
    }
}
